home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / rcs564.zip / IDENT.MAN < prev    next >
Text File  |  1992-10-07  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. IDENT(1)                                                 IDENT(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        ident - identify files
  9.  
  10. SSYYNNOOPPSSIISS
  11.        iiddeenntt [ --qq ] [ _f_i_l_e ... ]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        iiddeenntt searches for all occurrences of the pattern
  15.        $$_k_e_y_w_o_r_d::_._._.$$ in the named files or, if no files are
  16.        named, the standard input.
  17.  
  18.        These patterns are normally inserted automatically by the
  19.        RCS command ccoo(1), but can also be inserted manually.  The
  20.        option --qq suppresses the warning given if there are no
  21.        patterns in a file.
  22.  
  23.        iiddeenntt works on text files as well as object files and
  24.        dumps.  For example, if the C program in ff..cc contains
  25.  
  26.               ##iinncclluuddee <<ssttddiioo..hh>>
  27.               ssttaattiicc cchhaarr ccoonnsstt rrccssiidd[[]] ==
  28.                 ""$$IIdd:: ff..cc,,vv 55..22 11999922//0077//2288 1166::1122::4444 eeggggeerrtt EExxpp
  29.               $$"";;
  30.               iinntt mmaaiinn(()) {{ rreettuurrnn pprriinnttff((""%%ss\\nn"",, rrccssiidd)) ==== EEOOFF;; }}
  31.  
  32.        and ff..cc is compiled into ff..oo, then the command
  33.  
  34.               iiddeenntt  ff..cc  ff..oo
  35.  
  36.        will output
  37.  
  38.               ff..cc::
  39.                   $$IIdd:: ff..cc,,vv 55..22 11999922//0077//2288 1166::1122::4444 eeggggeerrtt EExxpp $$
  40.               ff..oo::
  41.                   $$IIdd:: ff..cc,,vv 55..22 11999922//0077//2288 1166::1122::4444 eeggggeerrtt EExxpp $$
  42.  
  43.        See ccoo(1) for the list of keywords that it maintains.
  44.        iiddeenntt finds all instances of patterns that look like
  45.        keyword strings, even if they are not actually keywords.
  46.        This gives you information about nonstandard keywords like
  47.        $$XXCCoonnssoorrttiiuumm$$.
  48.  
  49.        If a C program defines a string like rrccssiidd above but does
  50.        not use it, lliinntt(1) may complain, and some C compilers
  51.        will optimize away the string.  The most reliable solution
  52.        is to have the program use the rrccssiidd string, as shown in
  53.        the example above.
  54.  
  55. IIDDEENNTTIIFFIICCAATTIIOONN
  56.        Author: Walter F. Tichy.
  57.        Revision Number: 5.2; Release Date: 1992/07/28.
  58.        Copyright 1982, 1988, 1989 by Walter F. Tichy.
  59.        Copyright 1990, 1992 by Paul Eggert.
  60.  
  61.  
  62.  
  63.  
  64. GNU                         1992/07/28                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. IDENT(1)                                                 IDENT(1)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1),
  75.        rcsmerge(1), rlog(1), rcsfile(5)
  76.        Walter F. Tichy, RCS--A System for Version Control,
  77.        _S_o_f_t_w_a_r_e_-_-_P_r_a_c_t_i_c_e _& _E_x_p_e_r_i_e_n_c_e 1155, 7 (July 1985),
  78.        637-654.
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. GNU                         1992/07/28                          2
  131.  
  132.  
  133.